package com.sudo.boot.mapper.sys.model.bo;

import com.sudo.boot.base.constant.enums.EnumStatus;
import com.sudo.boot.core.validenum.EnumValues;
import com.sudo.boot.core.validenum.FxwRoleCode;
import com.sudo.boot.core.validenum.FxwSomeName;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
public class SysRoleBoAdd {

    @FxwSomeName("角色名")
    private String roleName;

    @FxwRoleCode
    private String roleCode;

    /**
     * 角色状态
     * {@link com.sudo.boot.base.constant.enums.EnumStatus}
     */
    @NotBlank(message = "角色状态不能为空")
    @EnumValues(EnumStatus.class)
    private String status;
    /**
     * 备注
     */
    private String note;

    private LocalDateTime localDateTime;
    private LocalDate localDate;
    private LocalTime localTime;
}
